home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / CPP / WCLASS95.ZIP / VC2HD1.SCT < prev    next >
Encoding:
Text File  |  1995-09-13  |  2.4 KB  |  64 lines

  1. // Class: CLASS_NAME            Visual C++ 2.X Windows Exe
  2.  
  3. #ifndef __$CAPITALIZE_ALL$CLASS_NAME$_H  //Required for current class
  4.   #define __$CAPITALIZE_ALL$CLASS_NAME$_H
  5.  
  6. [                               //Required for base classes
  7. #ifndef __$CAPITALIZE_ALL$BASE_CLASS$_H
  8.   #include "$BASE_CLASS$.h"
  9. #endif
  10. ]                               
  11.                 
  12. [#include <INCLUDE_FILE>   //Required for include files, eg <CList.h>
  13. ]                               
  14.  
  15. [                               //Required for 1:1 associated classes
  16. #ifndef __$CAPITALIZE_ALL$ASSOCIATION_ONE_CLASS$_H
  17.   #include "$ASSOCIATION_ONE_CLASS.h"
  18. #endif
  19. ]                                                               
  20.  
  21. [                               //Required for 1:1 aggregation (part) classes
  22. #ifndef __$CAPITALIZE_ALL$AGGREGATION_ONE_CLASS$_H
  23.   #include "$AGGREGATION_ONE_CLASS$.h"
  24. #endif
  25. ]                                                               
  26.  
  27. [                               //Required for 1:M associated classes
  28. #ifndef __$CAPITALIZE_ALL$ASSOCIATION_MANY_CLASS$_H
  29.   #include "$ASSOCIATION_MANY_CLASS$.h"
  30. #endif
  31. ]                                                               
  32.  
  33. [                               //Required for 1:M aggregation (part) classes
  34. #ifndef __$CAPITALIZE_ALL$AGGREGATION_MANY_CLASS$_H
  35.   #include "$AGGREGATION_MANY_CLASS$.h"
  36. #endif
  37. ]
  38.  
  39. CLASS_USER1
  40. CLASS_USER2
  41.             
  42. class CLASS_NAME[NO_RETURN NO_REPEAT: NO_REPEAT public BASE_CLASS ,DELETE_LAST_SYMBOL] CLASS_LIBRARY_BASE_CLASS     
  43. { [ATTRIBUTE_TYPE ATTRIBUTE_NAME$;]
  44.   [ASSOCIATION_ONE_CLASS$* ASSOCIATION_ONE_NAME$;]
  45.   [AGGREGATION_ONE_CLASS AGGREGATION_ONE_NAME$;]
  46.   [CList <ASSOCIATION_MANY_CLASS, ASSOCIATION_MANY_CLASS&> ASSOCIATION_MANY_NAME;]
  47.   [CList <AGGREGATION_MANY_CLASS, AGGREGATION_MANY_CLASS&> AGGREGATION_MANY_NAME;]
  48. public:
  49.             //Default constructor
  50.             //Update to access base class attributes 
  51.             //Update to access 1:1 part class attributes 
  52.             //Update to access 1:M part class attributes
  53.             //Update to access 1:1 associated class attributes
  54.             //Update to access 1:M associated class attributes
  55.             //Ensure initial values entered
  56.   CLASS_NAME () :[NO_RETURN ATTRIBUTE_NAME(ATTRIBUTE_INITIAL_VALUE),DELETE_LAST_SYMBOL]  { } 
  57.  
  58. [  CPP_OPERATION_VIRTUAL CPP_OPERATION_STATIC OPERATION_RETURN_TYPE OPERATION_NAME (CPP_OPERATION_PARAMETERS) CPP_OPERATION_CONSTANT CPP_OPERATION_PURE_VIRTUAL;
  59.  
  60.   OPERATION_CPP_VIRTUAL_BASE_CLASS ~ CLASS_NAME ( ) { }       //Destructor
  61. };
  62.  
  63. #endif